package com.vitabuybuy.tv.ui.mine.adapter

import androidx.recyclerview.widget.RecyclerView
import com.vitabuybuy.tv.R
import com.vitabuybuy.tv.databinding.ItemBillBinding
import com.vitabuybuy.tv.dto.BillListDto
import com.library.common.base.BindRecycAdapter

class BillAdapter : BindRecycAdapter<ItemBillBinding,BillListDto>(){
    override fun onBindViewHolder(
        mBinding: ItemBillBinding,
        itemData: BillListDto,
        holder: RecyclerView.ViewHolder,
        position: Int
    ) {
        mBinding.itemData = itemData
    }

    override fun normalViewId(viewType: Int): Int {
        return R.layout.item_bill
    }
}
